if not config.build_examples or sys.platform in ['win32']:
  config.unsupported = True

# Test discovery should ignore subdirectories that contain test inputs.
config.excludes = ['Inputs']

# Tests for the C API are disabled temporarily due to failures on sanitizer bots:
# https://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/7992/testReport/
config.excludes += [
  'orcv2-cbindings-add-object-file.test',
  'orcv2-cbindings-basic-usage.test',
  'orcv2-cbindings-lazy.test',
  'orcv2-cbindings-reflect-process-symbols.test',
  'orcv2-cbindings-removable-code.test',
]
